package com.linsen.erp.admin.mapper;

import com.linsen.erp.admin.entity.MenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 菜单 Mapper 接口
 * </p>
 *
 * @author zhaoyong
 * @since 2023-07-24
 */
@Mapper
public interface MenuMapper extends BaseMapper<MenuEntity> {
    /**
     * 根据userid获取菜单列表
     * @param userid
     * @return
     */
    List<MenuEntity> getByUserid(String userid);
}
